package com.av.bcacc.jetpack.modle;

import android.util.Log;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;

public class LifeCircleObserver implements LifecycleObserver {
    @OnLifecycleEvent(Lifecycle.Event.ON_RESUME)
    public void onResumeDeal(){
        Log.d("LifeCircleObserver","...onResumeDeal()");
    }

    @OnLifecycleEvent(Lifecycle.Event.ON_PAUSE)
    public void onPauseDeal(){
        Log.d("LifeCircleObserver","...onPauseDeal()");
    }

}
